package aop;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

//@ComponentScan
@Component
public class CommonEmployee implements Employee{

	private String name;
	
	public String getName(){
		return name;
	}
	
	@Value("good")
	public void setName(String name){
		this.name = name;
	}
	
	@Override
	public void signIn(String info){
		
		System.out.println(name + "。。。" + info);
	}
}
